*{
    padding:0;
    margin:0;
    /* 内减模式 */
    box-sizing:border-box;
}
body{
    background-color: #f3f5f7;;
}
li{
/* 清除li里面的小圆点 */
    list-style: none;
}
a{
    /* 清除所有a中的下划线 */
    text-decoration:none;
}
/* 清除浮动和浮动带来的塌陷,双伪元素 */
.clearfix:before,.clearfic:after{
    content:'';
    display:table;
}
.clearfic:after{
    clear:both;
}
/* 版心 */
.wrapper{
    width:1200px;
    /* 居中 */
    margin:0 auto;
}
/* 头部 */
.header{
    height:100px;
    /* line-height:100px; */
    margin-top:30px;
    margin-bottom:30px;
}
/* logo */
.logo{
    float:left;
    width:195px;
}
/* 导航 */
.nav{
    float: left;
    margin-left: 70px;
    height: 42px;
}
.nav li{
    float: left;
    margin-right:26px;
}
.nav li a{
    /* 设置为块元素 */
    display:block;
    padding:0 9px;
    height:42px;
    line-height:42px;
    
}
.nav li a:hover{
    border-bottom:2px solid #00a4ff;
    color:red;
}
/* 搜索区域 */
.search{
    float:left;
    margin-left:59px;
    width: 412px;
    height:40px;
    border:1px solid #00a4ff;
}
.search input{
    float: left;
    /* 因为左右加一起的要等于410 */
    width:360px;
    height:38px;
    border:0;
    padding-left: 20px;
}
.search input ::placeholder{
    color:#bfbfbf;
    font-size:14px;
}
.search button{
    float: left;
    width: 50px;
    height: 40px;
    background-image: url(../images/btn.png);
    border: 0;
}
/* 用户头像 */
.user{
    float:right;
    height: 42px;
    margin-right:35px;
    line-height: 42px;
}
.user img{
    /* 调节图片对齐方式用的 ，垂直方向的对齐方式*/
    vertical-align: middle;
}
.banner{
    height:420px;
    background-color: #1c036c;
}
.banner .wrapper{
    height:420px;
    background-image:url(../images/banner2.png)
}
.banner .left{
    float:left;
    width:190px;
    height:420px;
    background-color:rgb(0,0,0,0.3);
    padding:0 20px;
    /* 给每个li加一个行高 */
    line-height:44px;
}
.banner .right{
    float:right;
    width:228px;
    height: 300px;
    margin-top:50px;
    background-color:white;
}
.banner .left span{
    float: right;
}
.banner .left a{
    font-size:14px;
    color:white;
}
.banner .left a:hover{
    color:#00b4ff;
}
/* 我的课程表 */
.banner .right h2{
    height:48px;
    width: 228px;
    background-color:#9bceea;
    /* 水平垂直居中  */
    text-align:center;
    line-height: 48px;
} 
.banner .right .content{
    padding:0 18px;
}
.banner .right  .content dl{
    padding:12px 0;
    border-bottom:2px solid #e5e5e5;
}
.banner .right .content dt{
    font-size: 15px;
    color:#524d4d;
}
.banner .right .content dd{
    font-size: 10px;
    color:#e5e5e5;
}
.banner .right .more{
    display: block;
    width:200px;
    height:41px;
    margin:9px 14px;
    /* 字体水平垂直居中 */
    text-align: center;
    line-height:38px;
    border:2px solid #9bceea;
    font-size: 20px;
    color:#9bceea;
    font-weight: 700px;
}
/* 精品推荐 */
.recommend{
    height:60px;
    margin-top:8px;
    padding-left: 34px;
    padding-right: 26px;
    background-color: white;
    box-shadow: 0px 2px 3px 0px rgba(118,118,118,0.2);
   /* 数字垂直居中 */
   line-height: 60px;
}
.recommend h2{
    float:left;
    font-size: 16px;
    color:#00b4ff;
    font-weight: 400;
}
.recommend ul{
    float:left;
    margin-left:30px;
}
.recommend ul li{
    float:left;  
}
.recommend li a{
    border-left: 1px solid #e5e5e5;
    padding:0 30px;
    font-size: 16px;
    color:#050505;
}
.recommend .hobby{
    float:right;
    font-size: 14px;
    color:#00a4ff;
}
/* 精品课程 */
.course .title{
    height: 30px;
    margin-top:8px;
    line-height:30px;
}
.course .title h2{
    float:left;
    font-size:20px;
    color:#050505;
    font-weight:400;

}
.course .title a{
    float:right;
    margin-right: 30px;
    font-size:12px;
    color:#a5a5a5;
    /* text-align: center; */ 
}
/* 课程内容 */
.course .content li{
    float:left;
    width: 228px;
    height: 270px;
    margin-right:15px;
    margin-bottom:15px;
    background-color: #fff;
    text-align: center;
}
.course .content li:nth-child(5n){
    margin-right:0;
}
.course .content li h3{
    padding:20px;
    font-size:14px;
    color: #050505;
    font-weight: 400;
}
.course .content p{
    padding: 0 20px;
    font-size:12px;
    color:#999;
}
.course .content span{
    color:#ff7c2d;
}
/* 版权 */
.footer{
    height:417px;
    margin-top:40px;
    padding-top:30px;
    background-color: white;
}
.footer .left{
    float:left;
}
.footer .left p{
    margin:20px 0 10px;
    font-size:12px;
    color:#666;
}
.footer .left a{
    text-align: center;
    line-height: 36px;
    display: inline-block;
    width:120px;
    height:36px;
    border: 1px solid #00a4ff;
}
.footer .right{
    float:right;
}
.footer .right dl{
    float:left;
    margin-left:120px;
    font-size: 16px;
    color:#050505;
}
.footer .right a{
    font-size: 14px;
    color:#666;
}
